<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var allChannels = [{id:1,name:'吃饭'},{id:2,name:'睡觉'},{id:3,name:'打豆豆'}]
        var myChannels = [{id:2,name:'睡觉'}]
        var recommendChannels = allChannels.filter(function(item){
           return !myChannels.find(item1=>item1.id===item.id) 
        })
        console.log(recommendChannels)
    </script>
</body>
</html>